home *** CD-ROM | disk | FTP | other *** search
Modula Definition | 1996-06-21 | 1.5 KB | 51 lines | [TEXT/MEDT] |
- DEFINITION MODULE MatReshape;
-
- (*******************************************************************
-
- Module MatReshape (Version 1.0)
-
- Copyright ©1993 by Olivier Roth, Andreas Fischlin,
- and Swiss Federal Institute of Technology Zürich ETHZ
-
- Purpose: provides some procedures to change the "shape" of
- a matrix, i.e. insert, delete rows and columns
- of matrices.
-
- Remarks: This modulde is part of the Mat-library, which forms
- part of the RAMSES package.
-
- Programming
- o Design and Implementation
- O. Roth 23.04.90
- A. Fischlin 28/Mai/93
-
- Systems Ecology Group
- Swiss Federal Institute of Technology Zurich ETHZ
- Department of Environmental Sciences
- Grabenstr. 3
- CH-8952 Schlieren/Zurich
- Switzerland
-
- Last revision of definition: 28/Mai/93 af
-
- *******************************************************************)
-
- FROM Matrices IMPORT Matrix;
-
-
-
- PROCEDURE InsertMatrixRow( a: Matrix; nrRow: INTEGER );
- PROCEDURE InsertMatrixCol( a: Matrix; nrCol: INTEGER );
- (* In case the allocated memory of the matrix is not sufficient,
- * the needed memory will be allocated as needed by the insertion. *)
-
-
- PROCEDURE DeleteMatrixRow( a: Matrix; nrRow: INTEGER );
- PROCEDURE DeleteMatrixCol( a: Matrix; nrCol: INTEGER );
- (* Note, for efficiency reasons, the previously allocated memory
- * is not released. *)
-
-
-
- END MatReshape.
-